package cn.itcast.dao;

import cn.itcast.domain.OrderSetting;
import cn.itcast.domain.OrderSettingList;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface OrderSettingMapper {

    OrderSetting findByDate(Date orderDate);

    void insert(OrderSetting orderSetting);

    void update(OrderSetting orderSetting);

    List<OrderSetting> getOrderSettingByMonth(Map map);

    long findCountByOrderDate(Date orderDate);

    //更新已预约人数
    void editNumberByOrderDate(OrderSetting orderSetting);

    void editReservationsByOrderDate(OrderSetting orderSetting);

    List<OrderSettingList> findMapByPage(String getQueryString);
}
